﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using Odyssey.Linq;

namespace Odyssey.Web.Areas.Admin.Controllers
{
    public class Credential_companyController : BaseController<tb_credential_company>
    {
        public override ActionResult Detail(int? id)
        {
            ViewBag.Credetials = GetTable<tb_credential>().Where(item => item.CredentialCompanyId == id.GetValueOrDefault());
            return base.Detail(id);
        }
    }
}

